package liuyang;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

/**
 * @author xconf
 * @since 2023/11/4
 */
public class FxApp extends Application {
    @Override
    public void start(Stage stage) throws Exception {
        stage.setTitle("liuyang test JavaFX");
        stage.setScene(new Scene(new BorderPane(
                new Button("hello, JavaFX")
        ), 400, 300));
        stage.show();
    }
}
